<@override name="head-styles">
    <style>
        #content{
            background: #FFF;
        }
    </style>
</@override>
<@override name="page-content">
    <div class="access">
        <div class="access__img-block layui-hide-xs">
            <div class="access__img" style='background-image:url("${contextPath}/assets/images/acConfirm.svg");'></div>
        </div>
        <div class="access__cont">
            <h1 class="access__cont-title">用户授权确认</h1>
            <div class="access__cont-desc">
                将允许<span class="blue">${clientDetails.additionalInformation.clientName}</span>进行以下操作：
                 <div>
                    <ul class="list-unstyled spaced inline bigger-110 margin-15">
                        <li>
                            <i class="layui-icon layui-icon-ok-circle"></i>
                            获得您的公开信息（昵称、头像、性别等）
                        </li>
                    </ul>
                </div>
            </div>
            <div class="access__cont-actions">
                <button id="authorize" class="layui-btn layui-btn-normal">
                    <i class="layui-icon layui-icon-auz"></i>授权
                </button>
                <button id="deny" class="layui-btn layui-btn-danger">
                    <i class="layui-icon layui-icon-return"></i>取消
                </button>
            </div>
       </div>
        <form action='${contextPath}/oauth/authorize'
            method='post' id="frmAuthorize" >
            <input name='user_oauth_approval' value='true' type='hidden'/>
        </form>
        <form action='${contextPath}/oauth/authorize'
            method='post' id="frmDeny">
            <input name='user_oauth_approval' value='false' type='hidden'/>
        </form>
    </div>
</@override>
<@override name="page-scripts">
    <script>
        $("#authorize").click(function(){
            $("#frmAuthorize").submit();
        });
        $("#deny").click(function(){
            $("#frmDeny").submit();
        });
    </script>
</@override>
<@extends name="/layout/baseoauthpage.html"/> 